Total Complexity | 18 |
Dependencies | 0 |
Dependents | 0 |
Total lines | 72 |
Lines of code | 59 |
Logical lines of code | 43 |
Comment lines | 0 |
Methods | 5 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
is_valid_for_product_brand() | 57 | 6 | 14 | |
coupon_restriction() | 53 | 5 | 21 | |
is_valid_coupon() | 58 | 4 | 14 | |
coupon_save() | 74 | 2 | 4 | |
__construct() | 69 | 1 | 6 |